import { createRouter, createWebHistory   } from 'vue-router'
//驾驶舱
import Cockpit from "@/router/cockpit";
import cockpit from './cockpit';

const router = createRouter ({
  history: createWebHistory   (import.meta.env.BASE_URL),
  routes: [
    {
      path: '/cockpit',
      name: 'cockpit',
      component: cockpit
    },
      ...Cockpit
  ]
})

export default router
